package com.goldfish666.remote_control.exception;

import com.goldfish666.remote_control.enums.ResultCodeEnum;

public class ExistDataException extends BizException {
    /**
     * 默认构造函数
     */
    public ExistDataException() {
        this("数据已存在");
    }

    public ExistDataException(String message) {
        super(message, ResultCodeEnum.DataExisted);
    }

}
